<header node-name="header">
	<div class="price"><% if(type==1){ %><em>&yen;</em><%= round(reduceCost) %><% }else{ %>兑<% } %>	</div>
	<div class="title"><%= title %></div>
	<div class="condition">
		<span>
			<% if(type==1){ %>
				<% if(money==0){ %>
					无使用门槛
				<% }else{ %>
					满<%= round(money) %>元可用
				<% } %>
			<% } %>
			<% if(goods==1){ %>
				全场通用
			<% }else{ %>
				指定商品
			<% } %>	
		</span>
	</div>
	<div class="valid-time">有效期:<%= date('Y.m.d',code.startTime).replace(/-/g,".") %>至<%= date('Y.m.d',code.endTime).replace(/-/g,".") %></div>
</header>
<div class="btns">
	<div class="frow">
		<% if(code.statusCode=="GIFTING"){ %>
			<% if(isSelf!=1){ %>
				<div class="soon-receive"><button type="button" class="soon-receive" data-url="<%= code.receiveRouter %>">立即领取</button></div>
			<% }else{ %>
				<div class="soon-receive"><button type="button" data-href="/index.php?r=coupon/code">返回我的优惠券</button></div>
			<% } %>	
		<% } %>	
	</div>
</div>
<article class="pbd">
	<h2>使用说明</h2>
	<div class="instruction">
		<%- explain -%>		
	</div>
</article>

<footer class="footer">
	<div class="navmenu"><span data-href="/index.php?r=index/index">微信商城</span> <span class="separator">|</span>  <span class="followme">关注我们</span></div>
</footer>









